package com.tem.payment.utils;

import com.api.manage.redis.RedisCacheUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Component;

@Component
@Lazy
public class LocalRedisUtils {
    @Autowired
    private RedisCacheUtil redisCacheUtil;
    /**
     * 获取栏目path名称
     * @param myId
     * @return
     */
    public String getSysCategoryPathNameById(Long myId){
        return redisCacheUtil.getSysCategoryPathName(myId);
    }
}